Version 24.2 (latest)

UltraPrintDocument Class Methods

For a list of all members of this type, see UltraPrintDocument members.

Public Methods
 NameDescription
Public MethodCalculateAvailablePageSizeCalculates the inner bounds available for the page body.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden. Invoked when the component must release the resources it is using.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodLoadComponentSettingsLoads the user configuration settings for this component.  
Public MethodLoadFromBinaryOverloaded. Loads saved layout information from a stream containing the binary layout.  
Public MethodLoadFromXmlOverloaded. Loads saved layout information from a stream containing the xml/soap layout.  
Public MethodPrintStarts the document's printing process. (Inherited from System.Drawing.Printing.PrintDocument)
Public MethodResetOverloaded. Resets the properties of the component to their default values.  
Public MethodResetAppearanceResets the Appearance property to its default value.  
Public MethodResetComponentSettingsResets the user configuration settings for this component.  
Public MethodResetFooterResets the properties of the Footer to their default values.  
Public MethodResetHeaderResets the properties of the Header to their default values.  
Public MethodResetPageResets the properties of the Page to their default values.  
Public MethodResetPageBodyResets the properties of the PageBody to their default values.  
Public MethodSaveAsBinaryOverloaded. Saves property information to a file in binary format.  
Public MethodSaveAsXmlOverloaded. Saves property information to a file in xml/soap format.  
Public MethodSaveComponentSettingsSaves the user configuration settings for this component.  
Public MethodToStringProvides information about the print document, in string form. (Inherited from System.Drawing.Printing.PrintDocument)
Protected Methods
 NameDescription
Protected MethodCalculatePageBodyAreaCalculates the inner bounds available for the page body.  
Protected MethodDeserializePropertyInvoked during runtime deserialization when deserializing from a stream using the LoadFromXml(Stream) and LoadFromBinary(Stream) methods.  
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetObjectDataSerializes the properties and subobjects of the print document into the specified Infragistics.Shared.Serialization.ObjectStreamer  
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodNotifyDesignEnvironmentOfChange

In design mode notifies the System.ComponentModel.Design.IComponentChangeService that the component has changed so that it can mark the component dirty.

At runtime this method does nothing.

 
Protected MethodNotifyPropChangeOverloaded. Notifies any listeners when the state of an object has changed  
Protected MethodOnBeginPrintOverridden. Used to invoke the BeginPrint event when a print operation has started.  
Protected MethodOnEndPrintOverridden. Used to invoke the EndPrint event when a print operation has completed.  
Protected MethodOnPageBodyPrintedRaises the PageBodyPrinted event.  
Protected MethodOnPageBodyPrintingRaises the PageBodyPrinting event.  
Protected MethodOnPageFooterPrintedRaises the PageFooterPrinted event.  
Protected MethodOnPageFooterPrintingRaises the PageFooterPrinting event.  
Protected MethodOnPageHeaderPrintedRaises the PageHeaderPrinted event.  
Protected MethodOnPageHeaderPrintingRaises the PageHeaderPrinting event.  
Protected MethodOnPagePrintedRaises the PagePrinted event.  
Protected MethodOnPagePrintingRaises the PagePrinting event.  
Protected MethodOnPrintEndedInvoked when the print operation has ended.  
Protected MethodOnPrintPageOverridden. Used to invoke the PrintPage event when a page is to be printed.  
Protected MethodOnPrintPageBodyThis method is invoked by the OnPrintPage to allow derived classes to handle rendering of the page body. This method is not called if the PageBodyPrintingEventArgs.Handled property of the PageBodyPrinting event is set to true.  
Protected MethodOnPropertyChangedInvokes the PropertyChanged event. This event is fired to notify listeners of a property changes on the component or a subobject.  
Protected MethodOnQueryPageSettingsOverridden. Used to invoke the QueryPageSettings event to allow the PageSettings to be altered before each page is printed.  
Protected MethodOnSubObjectPropChangedInvoked when a property on a subobject has changed.  
Protected MethodShouldSerializeAppearance

Returns a Boolean value that determines whether the Appearance property is set to its default value.

 
Protected MethodShouldSerializeFooterIndicates if any of the properties of the Footer have been set.  
Protected MethodShouldSerializeHeaderIndicates if any of the properties of the Header have been set.  
Protected MethodShouldSerializePageIndicates if any of the properties of the Page have been set.  
Protected MethodShouldSerializePageBodyIndicates if any of the properties of the PageBody have been set.  
See Also