SetMiterLimit

Vector graphics

Description

Sets the stroke mitre limit ratio for subsequently drawn paths that use mitre 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 mitre length ratio to the line width. Values must be greater than 0

Return values

0The MiterLimit parameter was invalid
1The mitre 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