[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Document.DocumentBase-1

DocumentBase<PageType> Class

Represents vector graphics document.

Inheritance
DocumentBase<PageType>
Implements
IDocument<PageType>
Namespace: GrapeCity.ActiveReports.Core.Document
Assembly: MESCIUS.ActiveReports.Core.Document.dll
Syntax
public abstract class DocumentBase<PageType> : IDocument<PageType>, IDisposable where PageType : Page, new()
Type Parameters
Name Description
PageType

Constructors

Name Description
DocumentBase()

Fields

Name Description
MetafileLockObject

Used for locking code in different assemblies.

cacheToDiskLocation

Represents the location of the cache disk.

Properties

Name Description
Bookmarks

Gets a reference to the document's bookmarks.

CacheToDiskEnabled

Gets or sets whether to make the pages collection use a temp file for the canvas item streams.

CacheToDiskLocation

Gets or sets the location of CacheToDisk files - can be physical path or "IsolatedStorage" to use IsolatedStorage.

DocumentVersion

Gets the document version.

InProgress

Gets or sets whether the document is currently loaded.

Name

Gets or sets the name.

Pages

Gets a reference to the page of the document.

PagesInternal

Gets the internal page types.

Password

Gets or sets a password to protect the saved document file.

RenderingInformation

Extra rendering information, which can allow to render RDF properly.

UserPreferences

Gets or sets the user preferences.

Methods

Name Description
ClearFindTextSelection()

Clears text selection.

DisableCacheToDisk()

Disables cache to disk.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources. If you call dispose on this level that means that you are not suppose to use anything that is contained below this level. That means no pages, no fonts, etc.

Dispose(bool)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.

EnableCacheToDisk(IImageConverterService)

Enables cache to disk.

Find(string, FindOptions, ref int, ref float)

Searches the document page for the specified string.

Find(string, ref int)

Search for the specified character string.

Load(Stream, IImageConverterService)

Loads document from the specified Stream.

Load(string, IImageConverterService)

Loads document from the specified RDF file.

LoadFromUrl(string, IImageConverterService, UrlErrorEventHandler)

Loads a document from the specified data path.

OnNewPage(PageType)

Calls for a new page.

Save(Stream)

Saves document to the specified Stream.

Save(Stream, RdfFormat)

Saves document to the specified Stream.

Save(Stream, RdfFormat, SaveOptions)

Saves document to the specified Stream.

Save(string)

Saves document to the specified file.

Save(string, RdfFormat)

Saves document to the specified file.

Save(string, RdfFormat, SaveOptions)

Saves document to the specified file.

Events

Name Description
LoadCompleted

Event occurs after all document pages are fully loaded.

StateChanged

Event occurs when a change of state.