Public Sub SetPageHeight( _ ByVal pageHeight As Double _ )
public void SetPageHeight( double pageHeight )
Parameters
- pageHeight
- Page height of the report.
Public Sub SetPageHeight( _ ByVal pageHeight As Double _ )
public void SetPageHeight( double pageHeight )
| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
{
//Note: Call within QueuedTask.Run()
var cimReportPage = new CIMPage
{
Height = 12,
StretchElements = false,
Width = 6.5,
ShowRulers = true,
ShowGuides = true,
Margin = new CIMMargin { Bottom = 1, Left = 1, Right = 1, Top = 1 },
Units = LinearUnit.Inches
};
report.SetPage(cimReportPage);
//Change only the report's page height
report.SetPageHeight(12);
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)