Partager via


DocumentBase.ReadingLayoutSizeY Property

Definition

Gets or sets the height of pages in the document when it is displayed in reading layout view and is frozen for entering handwritten markup.

public:
 property int ReadingLayoutSizeY { int get(); void set(int value); };
public int ReadingLayoutSizeY { get; set; }
member this.ReadingLayoutSizeY : int with get, set
Public Property ReadingLayoutSizeY As Integer

Property Value

The height of pages in the document when it is displayed in reading layout view and is frozen for entering handwritten markup.

Examples

The following code example displays the document in reading layout view and then sets the size of the displayed page. To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentReadingLayoutSizeX()
{
    this.ActiveWindow.View.ReadingLayout = true;
    this.ReadingLayoutSizeX = 300;
    this.ReadingLayoutSizeY = 300;
    this.ReadingModeLayoutFrozen = true;
}
Private Sub DocumentReadingLayoutSizeX()
    Me.ActiveWindow.View.ReadingLayout = True
    Me.ReadingLayoutSizeX = 300
    Me.ReadingLayoutSizeY = 300
    Me.ReadingModeLayoutFrozen = True
End Sub 

Remarks

After setting the ReadingLayoutSizeX and ReadingLayoutSizeY properties, use the ReadingModeLayoutFrozen property to display the page using the specified height and width. Use the ReadingLayout property to display a document in reading layout view.

Applies to