JpgViewOptions
Contents
[
Hide
]
JpgViewOptions(CreatePageStream)
Initializes an instance of the JpgViewOptions
class.
public JpgViewOptions(CreatePageStream createPageStream)
Parameter | Type | Description |
---|---|---|
createPageStream | CreatePageStream | The method that instantiates a stream used to write output page data. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when createPageStream is null. |
Remarks
For the code example, see the documentation.
See Also
- delegate CreatePageStream
- class JpgViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
JpgViewOptions(CreatePageStream, ReleasePageStream)
Initializes an instance of the JpgViewOptions
class.
public JpgViewOptions(CreatePageStream createPageStream, ReleasePageStream releasePageStream)
Parameter | Type | Description |
---|---|---|
createPageStream | CreatePageStream | The method that instantiates a stream used to write output page data. |
releasePageStream | ReleasePageStream | The method that releases a stream created by method assigned to delegate that passed to createPageStream parameter. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when createPageStream is null. |
ArgumentNullException | Thrown when releasePageStream is null. |
Remarks
For the code example, see the documentation.
See Also
- delegate CreatePageStream
- delegate ReleasePageStream
- class JpgViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
JpgViewOptions(IPageStreamFactory)
Initializes an instance of the JpgViewOptions
class.
public JpgViewOptions(IPageStreamFactory pageStreamFactory)
Parameter | Type | Description |
---|---|---|
pageStreamFactory | IPageStreamFactory | The factory which implements methods for creating and releasing output page stream. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Thrown when pageStreamFactory is null. |
Remarks
For the code example, see the documentation.
See Also
- interface IPageStreamFactory
- class JpgViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
JpgViewOptions()
Initializes an instance of the JpgViewOptions
class.
public JpgViewOptions()
Remarks
This constructor initializes an instance of the JpgViewOptions
with “p_{0}.jpg” as file path format for the output files. The output files are placed into current working directory of the application.
For the code example, see the documentation.
See Also
- class JpgViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
JpgViewOptions(string)
Initializes an instance of the JpgViewOptions
class.
public JpgViewOptions(string filePathFormat)
Parameter | Type | Description |
---|---|---|
filePathFormat | String | The file path format e.g. ‘page_{0}.jpg’. |
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when filePathFormat is null or empty. |
Remarks
For the code example, see the documentation.
See Also
- class JpgViewOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer