Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DisableCropping Property
See Also 
Leadtools.Codecs Namespace > CodecsPdfLoadOptions Class : DisableCropping Property



Enables or disables the cropping of PostScript (PS) and Encapsulated PostScript (EPS) files.

Syntax

Visual Basic (Declaration) 
Public Property DisableCropping As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsPdfLoadOptions
Dim value As Boolean
 
instance.DisableCropping = value
 
value = instance.DisableCropping
C# 
public bool DisableCropping {get; set;}
C++/CLI 
public:
property bool DisableCropping {
   bool get();
   void set (bool value);
}

Return Value

true to disable cropping of PostScript (PS) and Encapsulated PostScript (EPS) files, false otherwise.

Example

For an example, refer to CodecsPdfOptions.

Remarks

The PDF codecs is also used to load PostScript (PS) and Encapsulated PostScript (EPS) files. Use this option to enable/disable cropping the result raster image size to the dimensions of the actual drawing inside the PostScript file. This option is not used when loading PDF files.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also