A control which is responsible for displaying print documents.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadPrintPreviewControl : PrintPreviewControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Inheritance: objectMarshalByRefObjectComponentControlPrintPreviewControlRadPrintPreviewControl...
Implements:
Inherited Members
Constructors
Initializes the preview background and default page-shadow color.
public RadPrintPreviewControl()
Properties
Gets or sets the border color for each page.
public Color PageBorderColor { get; set; }
Gets or sets the inner border color for each page.
public Color PageInnerBorderColor { get; set; }
Gets or sets the color used to fill the page shadows.
public Color PageShadowColor { get; set; }
Gets or sets the current scroll position.
public Point ScrollOffset { get; set; }
Gets or sets the page-shadow thickness before zoom scaling; the rendered shadow is capped at 10 pixels.
public int ShadowThickness { get; set; }
Methods
Draws the configured borders and zoom-scaled shadows around the rendered preview pages.
protected override void OnPaint(PaintEventArgs pevent)
The paint event data.
Overrides:
Converts a length in hundredths of an inch to pixels at the supplied display resolution.
Converts each coordinate from hundredths of an inch to pixels using its corresponding axis resolution.
Converts each coordinate from pixels to hundredths of an inch using its corresponding axis resolution.