Search Results for

    Show / Hide Table of Contents

    Class XAMLExport

    Represents the XAML export filter.

    Inheritance
    System.Object
    Base
    ExportBase
    XAMLExport
    Implements
    IFRSerializable
    Inherited Members
    FastReport.Export.ExportBase.TabsIsExists
    FastReport.Export.ExportBase.Export(FastReport.Report, System.Collections.Generic.List<FastReport.Preview.PreparedPages>)
    FastReport.Export.ExportBase.GetOverlayPage(FastReport.ReportPage)
    ExportBase.webPreview
    ExportBase.GeneratedStreams
    ExportBase.Zoom
    ExportBase.FileFilter
    ExportBase.PageRange
    ExportBase.PageNumbers
    ExportBase.CurPage
    ExportBase.OpenAfterExport
    ExportBase.AllowOpenAfter
    ExportBase.ShowProgress
    ExportBase.GeneratedFiles
    ExportBase.HasMultipleFiles
    ExportBase.ShiftNonExportable
    ExportBase.SaveInitialDirectory
    ExportBase.ExportAllTabs
    ExportBase.Stream
    ExportBase.FileName
    ExportBase.Pages
    ExportBase.GetPage(Int32)
    ExportBase.Assign(Base)
    ExportBase.Export(Report, Stream)
    ExportBase.InstantExportStart(Report, Stream)
    ExportBase.InstantExportBeginPage(ReportPage)
    ExportBase.InstantExportExportBand(BandBase)
    ExportBase.InstantExportEndPage(ReportPage)
    ExportBase.InstantExportFinish()
    ExportBase.Export(Report, String)
    Base.Name
    Base.Restrictions
    Base.Flags
    Base.Parent
    Base.BaseName
    Base.ClassName
    Base.Report
    Base.Page
    Base.ChildObjects
    Base.AllObjects
    Base.ZOrder
    Base.IsAncestor
    Base.IsDesigning
    Base.IsPrinting
    Base.IsRunning
    Base.OriginalComponent
    Base.Disposed
    Base.SetProp(Base, Base)
    Base.FloatDiff(Single, Single)
    Base.DeserializeSubItems(FRReader)
    Base.ExtractDefaultMacros(String)
    Base.Dispose(Boolean)
    Base.Dispose()
    Base.SetFlags(Flags, Boolean)
    Base.SetReport(Report)
    Base.SetName(String)
    Base.SetParent(Base)
    Base.SetParentCore(Base)
    Base.FindObject(String)
    Base.CreateUniqueName()
    Base.Clear()
    Base.Deserialize(FRReader)
    Base.BaseAssign(Base)
    Base.AssignAll(Base)
    Base.HasParent(Base)
    Base.HasFlag(Flags)
    Base.HasRestriction(Restrictions)
    Base.InvokeEvent(String, Object)
    Base.OnAfterLoad()
    Base.GetExpressions()
    Base.GetCustomScript()
    Base.ExtractMacros()
    Base.IsHaveToConvert(Object)
    Base.GetConvertedObjects()
    Base.ForEachAllConvectedObjects(Object)
    FastReport.Base.IsSelected
    FastReport.Base.IsParentSelected
    FastReport.Base.Delete()
    FastReport.Base.OnBeforeInsert(System.Int32)
    FastReport.Base.OnAfterInsert(FastReport.InsertFrom)
    FastReport.Base.SelectionChanged()
    FastReport.Base.GetContextMenu()
    FastReport.Base.GetImageIndex()
    Namespace: FastReport.Export.XAML
    Assembly: FastReport.dll
    Syntax
    public class XAMLExport : ExportBase, IDisposable, IFRSerializable

    Constructors

    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
    ExportBase.ExportBand(BandBase)

    ExportPageBegin(ReportPage)

    Begin exporting of page

    Declaration
    protected override void ExportPageBegin(ReportPage page)
    Parameters
    Type Name Description
    ReportPage page
    Overrides
    ExportBase.ExportPageBegin(ReportPage)

    ExportPageEnd(ReportPage)

    End exporting

    Declaration
    protected override void ExportPageEnd(ReportPage page)
    Parameters
    Type Name Description
    ReportPage page
    Overrides
    ExportBase.ExportPageEnd(ReportPage)

    Finish()

    This method is called when the export is finished.

    Declaration
    protected override void Finish()
    Overrides
    ExportBase.Finish()

    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
    ExportBase.GetFileFilter()

    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
    ExportBase.Serialize(FRWriter)
    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).

    ShowDialog()

    Displays a dialog with export options.

    Declaration
    public override bool ShowDialog()
    Returns
    Type Description
    System.Boolean

    true if dialog was closed with OK button.

    Overrides
    FastReport.Export.ExportBase.ShowDialog()
    Remarks

    Before calling this method, set the report.

    Start()

    This method is called when the export starts.

    Declaration
    protected override void Start()
    Overrides
    ExportBase.Start()

    Implements

    IFRSerializable
    Back to top © 1998-2025 Copyright Fast Reports Inc.