PdfAxialShading.SetAxisDirection Method

PDF File Writer

PdfAxialShadingSetAxisDirection Method

Set gradient axis direction

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public void SetAxisDirection(
	double StartPointX,
	double StartPointY,
	double EndPointX,
	double EndPointY,
	MappingMode Mapping
)

Parameters

StartPointX
Type: SystemDouble
Start point x
StartPointY
Type: SystemDouble
Start point y
EndPointX
Type: SystemDouble
End point x
EndPointY
Type: SystemDouble
End point y
Mapping
Type: PdfFileWriterMappingMode
Mapping mode (Relative or Absolute)
See Also