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


IArcPressPrinter.SelectedDriverId Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > OutputExtensions > ESRI.ArcGIS.OutputExtensions > Interfaces > IA > IArcPressPrinter Interface > IArcPressPrinter.SelectedDriverId Property
ArcGIS Developer Help

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