Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub DoPrint( _ ByVal pdoc As PrintDocument _ ) |
C# | |
---|---|
protected virtual void DoPrint( PrintDocument pdoc ) |
Parameters
- pdoc
You may want to override this in order to control printing options in Silverlight 5. This is currently implemented as:
IDiagramModel model = this.Diagram.Model; String modelname = (model.Name != null ? model.Name : "Diagram"); pdoc.Print(modelname);