System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.Control
System.Runtime.InteropServices.ComVisible(true)
System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)
System.ComponentModel.DefaultProperty("Document")
When you create an instance of the class, some of the read/write properties are set to initial values. For a list of these values, see the constructor.
For more information about printing with Windows Forms, see the namespace overview. If you wish to print from a Windows Presentation Foundation application, see the namespace.
Represents the raw preview part of print previewing from a Windows Forms application, without any dialog boxes or buttons. Most objects are found on objects, but they do not have to be.
Constructor
When you create an instance of the class, the following read/write properties are initialized.
-
Property
Default Value
-
true
-
null
-
1
-
0
-
0
You can change the value for any of these properties through a separate call to the property.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(true)
System.Boolean
To be added.
To be added.
Gets or sets a value indicating whether resizing the control or changing the number of pages shown automatically adjusts the property.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(1)
System.Int32
To be added.
To be added.
Gets or sets the number of pages displayed horizontally across the screen.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.CreateParams
To be added.
To be added.
Gets the required creation parameters when the control handle is created.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(null)
System.Drawing.Printing.PrintDocument
To be added.
To be added.
Gets or sets a value indicating the document to preview.
1.0.5000.0
2.0.0.0
Method
System.Void
Call this method if the document appearance has changed.
Refreshes the preview of the document.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Overrides the method.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
If the property is set to true, the method resizes the page in proportion to the control. If is false, the centers the page on the control.
Raises the event.
An that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
An that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
You typically use this method if you are either creating a designer for the or creating your own control incorporating the .
Resets the property to , which is the default color.
1.0.5000.0
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
Method
System.Void
You typically use this method if you are either creating a designer for the or creating your own control incorporating the .
Resets the foreground color of the to , which is the default color.
1.0.5000.0
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
Property
1.0.5000.0
2.0.0.0
System.ComponentModel.AmbientValue(System.Windows.Forms.RightToLeft.Inherit)
System.ComponentModel.Localizable(true)
System.Windows.Forms.RightToLeft
To be added.
To be added.
To be added.
Property
System.ComponentModel.DefaultValue(1)
System.Int32
To be added.
To be added.
Gets or sets the number of pages displayed vertically down the screen.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
To be added.
Gets or sets the page number of the upper left page.
1.0.5000.0
2.0.0.0
Event
System.EventHandler
For more information about handling events, see Consuming Events.
Occurs when the start page changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.ComponentModel.Bindable(false)
System.String
To be added.
To be added.
Gets or sets the text associated with this control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the value of the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
Anti-aliasing removes jagged lines when fonts are rendered.
Gets or sets a value indicating whether printing uses the anti-aliasing features of the operating system.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
System.Double
To be added.
To be added.
Gets or sets a value indicating how large the pages will appear.
1.0.5000.0
2.0.0.0
System.ComponentModel.DefaultValue(0.3)