O2S.Components.PDF4NET.Render Documentation
SnapRectanglesToGrid Property



O2S.Components.PDF4NET.Rendering Namespace > PDFRendererSettings Class : SnapRectanglesToGrid Property
Gets or sets a value indicating whether the rendered rectangles should be aligned to pixel grid.
Syntax
'Declaration
 
Public Property SnapRectanglesToGrid As Boolean
'Usage
 
Dim instance As PDFRendererSettings
Dim value As Boolean
 
instance.SnapRectanglesToGrid = value
 
value = instance.SnapRectanglesToGrid
public bool SnapRectanglesToGrid {get; set;}
public:
property bool SnapRectanglesToGrid {
   bool get();
   void set (    bool value);
}

Property Value

True if the rectangles should be aligned to pixel grid.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFRendererSettings Class
PDFRendererSettings Members