Skip to end of metadata
Go to start of metadata

Represents a class which contains page information.

Definition

Summary

The following table summarizes the members exposed in this class.

Public Constructors

PageContent Constructor() Initializes a new instance of the PageContent class.

Public Properties

CustomContentTemplate Gets or sets the custom content page template.
HighlightVisual Gets or sets the related highlight visual.
IsHighlightVisualLoaded Gets or sets the value indicating whether the highlight is loaded or not.
IsPageVisualLoaded Gets or sets the value indicating whether the page is loaded or not.
OriginalHeight Gets or sets the original height.
OriginalWidth Gets or sets the original width.
PageBorderThickness Gets or sets the page border thickness in the document.
PageMargin Gets or sets the page margin.
PageSegmentVisual Gets or sets the related page segment visual.
PageVisual Gets or sets the related page visual.
ScaleUnit Gets or sets the page scale unit.
SelectionVisual Gets or sets the related selection visual.

Protected Properties

Product Product Info.

Fields

CustomContentTemplateProperty Identifies the CustomContentTemplate dependency property.
IsHighlightVisualLoadedProperty Identifies the IsHighlightVisualLoaded dependency property.
IsPageVisualLoadedProperty Identifies the IsPageVisualLoaded dependency property.
PageBorderThicknessProperty Identifies the PageBorderThickness dependency property.
PageMarginProperty Identifies the PageMargin dependency property.
ScaleUnitProperty Identifies the ScaleUnit dependency property.

Protected Methods

OnIsHighlightVisualLoadedChanged(bool, bool) Called when highlight visual loaded state is changed.

Public Constructors

public PageContent()

Public Properties

public DataTemplate CustomContentTemplate { get; set; }

Gets or sets the custom content page template.

public Canvas HighlightVisual { get; set; }

Gets or sets the related highlight visual.

public bool IsHighlightVisualLoaded { get; set; }

Gets or sets the value indicating whether the highlight is loaded or not.

public bool IsPageVisualLoaded { get; set; }

Gets or sets the value indicating whether the page is loaded or not.

public double OriginalHeight { get; set; }

Gets or sets the original height.

public double OriginalWidth { get; set; }

Gets or sets the original width.

public Thickness PageBorderThickness { get; set; }

Gets or sets the page border thickness in the document.

public Thickness PageMargin { get; set; }

Gets or sets the page margin.

public Canvas PageSegmentVisual { get; set; }

Gets or sets the related page segment visual.

public PageVisual PageVisual { get; set; }

Gets or sets the related page visual.

public GeneralTransform ScaleUnit { get; set; }

Gets or sets the page scale unit.

public Canvas SelectionVisual { get; set; }

Gets or sets the related selection visual.

Protected Properties

protected ProductInfo Product { get; }

Product Info.

Fields

public static readonly DependencyProperty CustomContentTemplateProperty

Identifies the CustomContentTemplate dependency property.

public static readonly DependencyProperty IsHighlightVisualLoadedProperty

Identifies the IsHighlightVisualLoaded dependency property.

public static readonly DependencyProperty IsPageVisualLoadedProperty

Identifies the IsPageVisualLoaded dependency property.

public static readonly DependencyProperty PageBorderThicknessProperty

Identifies the PageBorderThickness dependency property.

public static readonly DependencyProperty PageMarginProperty

Identifies the PageMargin dependency property.

public static readonly DependencyProperty ScaleUnitProperty

Identifies the ScaleUnit dependency property.

Protected Methods

protected void OnIsHighlightVisualLoadedChanged(bool oldValue, bool newValue)

Called when highlight visual loaded state is changed.

Parameters

oldValue Specifies the old value.
newValue Specifies the new value.
  • No labels