MSI Factory 2.3

File.Print

File.Print

Previous topic Next topic  

File.Print

Previous topic Next topic  

OverviewExamples

File.Print (

string Filename )

Description

Prints a document on the user's default printer. This is the same as selecting "print" from the right-click context menu of the file you wish to print.

Note: The associated viewer application for the file type must support the "print" verb in order for this to work.

Parameters

Filename

(string) The path to the document.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us