public void SetPageHeight( double pageHeight )
Public Sub SetPageHeight( _ ByVal pageHeight As Double _ )
Parameters
- pageHeight
- Page height of the report.
public void SetPageHeight( double pageHeight )
Public Sub SetPageHeight( _ ByVal pageHeight As Double _ )
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, Windows 10