Class XAMLExport
Represents the XAML export filter.
Implements
Inherited Members
Namespace: FastReport.Export.XAML
Assembly: FastReport.dll
Syntax
public class XAMLExport : ExportBase, IDisposable, IFRSerializableConstructors
XAMLExport()
Initializes a new instance of the XAMLExport class.
Declaration
public XAMLExport()Properties
ImageFormat
Gets or sets the image format used when exporting.
Declaration
public XamlImageFormat ImageFormat { get; set; }Property Value
| Type | Description | 
|---|---|
| XamlImageFormat | 
Images
Get dictionary of saved images
Declaration
public Dictionary<string, MemoryStream> Images { get; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.IO.MemoryStream> | 
IsScrolled
Get or set scrollbar settings
Declaration
public bool IsScrolled { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Pictures
Enable or disable the pictures in XAML export
Declaration
public bool Pictures { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
WPFClassName
Gets or sets the class name of XAML document
Declaration
public string WPFClassName { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
ExportBand(BandBase)
Export of Band
Declaration
protected override void ExportBand(BandBase band)Parameters
| Type | Name | Description | 
|---|---|---|
| BandBase | band | 
Overrides
ExportPageBegin(ReportPage)
Begin exporting of page
Declaration
protected override void ExportPageBegin(ReportPage page)Parameters
| Type | Name | Description | 
|---|---|---|
| ReportPage | page | 
Overrides
ExportPageEnd(ReportPage)
End exporting
Declaration
protected override void ExportPageEnd(ReportPage page)Parameters
| Type | Name | Description | 
|---|---|---|
| ReportPage | page | 
Overrides
Finish()
This method is called when the export is finished.
Declaration
protected override void Finish()Overrides
GetFileFilter()
Returns a file filter for a save dialog.
Declaration
protected override string GetFileFilter()Returns
| Type | Description | 
|---|---|
| System.String | String that contains a file filter, for example: "Bitmap image (.bmp)|.bmp" | 
Overrides
GetImage(String)
Gem MemoryStream what contain image
Declaration
public MemoryStream GetImage(string image_name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | image_name | 
Returns
| Type | Description | 
|---|---|
| System.IO.MemoryStream | 
Serialize(FRWriter)
Serializes the object.
Declaration
public override void Serialize(FRWriter writer)Parameters
| Type | Name | Description | 
|---|---|---|
| FRWriter | writer | Writer object. | 
Overrides
Remarks
Do not call this method directly. You should override it if you are developing a new component for FastReport.
This method is called when the object needs to save the state. It may happen when:
- saving the report to the file or stream;
- saving the report to the designer's undo buffer;
- assigning the object to another object using the Assign(Base) or AssignAll methods;
- saving the object to the designer's clipboard;
- saving the object to the preview (when run a report).
Start()
This method is called when the export starts.
Declaration
protected override void Start()