PDFView4NET WinForms Edition


O2S.Components.PDFRender4NET Namespace > PDFFile Class : SnapRectanglesToGrid Property
SnapRectanglesToGrid Property (PDFFile)
Gets or sets a flag indicating whether the drawn rectangles should be drawn on full pixels.
Syntax
'Declaration
 
Public Property SnapRectanglesToGrid As Boolean
'Usage
 
Dim instance As PDFFile
Dim value As Boolean
 
instance.SnapRectanglesToGrid = value
 
value = instance.SnapRectanglesToGrid
public bool SnapRectanglesToGrid {get; set;}

Property Value

If true then the rectangles are rendered on full pixels.
Remarks
This property has effect only when the PDFGraphicEngine.Quadrifoglio graphic engine is used.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also