HtmlPrintDocumentSource.TrySetPageRange(String) Method

Definition

Tries to set the page range of the document source.

public:
 virtual bool TrySetPageRange(Platform::String ^ strPageRange) = TrySetPageRange;
bool TrySetPageRange(winrt::hstring const& strPageRange);
public bool TrySetPageRange(string strPageRange);
function trySetPageRange(strPageRange)
Public Function TrySetPageRange (strPageRange As String) As Boolean

Parameters

strPageRange
String

Platform::String

winrt::hstring

The page range to set.

Returns

Boolean

bool

A Boolean value that indicates whether TrySetPageRange set the page range in strPageRange. TRUE indicates the page range was set and FALSE otherwise.

Applies to