SftPrintPreview/OCX 1.0

SftPrintPreview.PrinterChanged Event

Softel vdm, Inc.

The current printer or current printer attributes have been modified.

Syntax       

VB.NET

Private Sub object_PrinterChanged(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.PrinterChanged

VB

Private Sub object_PrinterChanged()

C#.NET

void object_PrinterChanged(object sender, EventArgumentType e);

VC++

void OnPrinterChangedobject();

C

HRESULT OnPrinterChangedobject();

Delphi

procedure objectPrinterChanged(Sender: TObject);

object

A SftPrintPreview object.

Comments

The PrinterChanged event occurs when the current printer or current printer attributes have been modified.

The print preview control automatically reformats the displayed preview, so an application generally does not have to handle this event.   It is intended for informational purposes only, in case the application wants to save the printer information in an external location (Registry, INI file, etc.).


Feedback / comments / error reports for this topic
© 2004 - Softel vdm, Inc. - www.windowscontrols.com