ContentType ClassDocument Toolkit Help
Represents a content type
Inheritance Hierarchy

SystemObject
  FirstFloor.DocumentsContentType

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public class ContentType

The ContentType type exposes the following members.

Properties

  NameDescription
Public propertyExtension
Gets the file extension.
Public propertyPath
Gets the path to the resource.
Public propertyType
Gets the content type.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldStatic memberFileExtensionArgbBitmap
Defines the file extension for custom ARGB bitmap images.
Public fieldStatic memberFileExtensionRgbBitmap
Defines the file extension for custom RGB bitmap images.
Public fieldStatic memberFileExtensionTiff
Defines the default file extension for TIFF images.
Public fieldStatic memberTypeDocumentStructure
The XPS document structure content type.
Public fieldStatic memberTypeFixedDocument
The XPS fixed document content type.
Public fieldStatic memberTypeFixedDocumentSequence
The XPS fixed document sequence content type.
Public fieldStatic memberTypeFixedPage
The XPS fixed page content type.
Public fieldStatic memberTypeFont
Font.
Public fieldStatic memberTypeImageArgb
The ARGB bitmap format.
Public fieldStatic memberTypeImageJpg
JPEG image
Public fieldStatic memberTypeImagePng
PNG image
Public fieldStatic memberTypeImageRgb
The RGB bitmap format.
Public fieldStatic memberTypeImageTiff
TIFF image
Public fieldStatic memberTypeImageWindowsMediaPhoto
Windows Media Photo image
Public fieldStatic memberTypeObfuscatedFont
Obfuscated font.
Public fieldStatic memberTypeRelationships
The relationships content type.
Public fieldStatic memberTypeStoryFragments
The XPS story fragments content type.
Top
Extension Methods

  NameDescription
Public Extension MethodIsFontContentType
Determines whether specified content type is a (obfuscated) font content type.
(Defined by ContentTypeExtensions.)
Public Extension MethodIsImageContentType
Determines whether specified content type is an image content type.
(Defined by ContentTypeExtensions.)
Public Extension MethodIsSupportedImageContentType
Determines whether specified content type is a supported image content type.
(Defined by ContentTypeExtensions.)
Top
See Also

Reference