This document is archived and information here might be outdated.  Recommended version.


IArcPressPrinter.SelectedDriverId Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (OutputExtensions)  

IArcPressPrinter.SelectedDriverId Property

Selected driver id.

[Visual Basic .NET]
Public Property SelectedDriverId As UID
[C#]
public UID SelectedDriverId {get; set;}

Product Availability

Available with ArcGIS Desktop.

Remarks

Instead of directly assigning a value to the SelectedDriverId property, developers should instead use the IArcPress::AutoSelectDriverByName method.  This method will automatically select the appropriate ArcPress driver for the printer. Directly assigning a value to the SelectedDriverId property can cause unexpected results while printing.

Before calling IPrinter::StartPrinting, check that SelectedDriverId is not null.  If AutoSelectDriverByName cannot find a compatible driver, SelectedDriverId will be null and the call to StartPrinting will fail.

See Also

IArcPressPrinter Interface

.NET Samples

Print active view with ArcPress (Code Files: PrintActiveViewArcPressVB_Net_Addin)

.NET Related Topics

OutputExtensions