SetMiterLimit

Vector graphics

Description

Sets the stroke miter limit ratio for subsequently drawn paths that use miter joins

Syntax

Delphi

Function TPDFlib.SetMiterLimit(MiterLimit: Double): Integer;

ActiveX

Function PDFlib::SetMiterLimit(MiterLimit As Double) As Long

DLL

int DLSetMiterLimit(int InstanceID, double MiterLimit);

Parameters

MiterLimitThe maximum miter length ratio to the line width. Values must be greater than 0

Return values

0The MiterLimit parameter was invalid
1The miter limit was set successfully

Remarks

The value is a PDF graphics-state ratio, not a page distance, so it is not affected by measurement units