←Select platform

MultiPageEnableMargins Property

Summary

Considers the margins when rendering a sheet or a page.

Syntax
C#
VB
C++
public bool MultiPageEnableMargins { get; set; } 
Public Property MultiPageEnableMargins() As Boolean 
   Get 
   Set 
public:  
   property bool MultiPageEnableMargins 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to consider the margins when rendering a sheet or a page; otherwise, false. Default value is false.

Remarks

When the value of MultiPageEnableMargins is true, the engine will use the margins set in CodecsRasterizeDocumentLoadOptions.LeftMargin, TopMargin, RightMargin and BottomMargin when rendering a sheet or page. These margins can be set using rasterCodecs.Options.RasterizeDocument.Load.

When the value of MultiPageEnableMargins is false, the margins are ignored.

Note that margins are supported when loading XLSX files, not the legacy XLS files.

Example

For an example, refer to CodecsXlsLoadOptions.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly