Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / FrameDimension.cs / 1305376 / FrameDimension.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Imaging { using System; using System.Diagnostics; using System.Drawing; using System.ComponentModel; /** * frame dimension constants (used with Bitmap.FrameDimensionsList) */ ////// /// /// // [TypeConverterAttribute(typeof(FrameDimensionConverter))] public sealed class FrameDimension { // Frame dimension GUIDs, from sdkinc\imgguids.h private static FrameDimension time = new FrameDimension(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}")); private static FrameDimension resolution = new FrameDimension(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}")); private static FrameDimension page = new FrameDimension(new Guid("{7462dc86-6180-4c7e-8e3f-ee7333a7a483}")); private Guid guid; ////// /// Initializes a new instance of the public FrameDimension(Guid guid) { this.guid = guid; } ///class with the specified GUID. /// /// /// Specifies a global unique identifier (GUID) /// that represents this public Guid Guid { get { return guid;} } ///. /// /// /// The time dimension. /// public static FrameDimension Time { get { return time;} } ////// /// The resolution dimension. /// public static FrameDimension Resolution { get { return resolution;} } ////// /// The page dimension. /// public static FrameDimension Page { get { return page;} } ////// /// Returns a value indicating whether the /// specified object is an public override bool Equals(object o) { FrameDimension format = o as FrameDimension; if (format == null) return false; return this.guid == format.guid; } ///equivalent to this . /// /// /// public override int GetHashCode() { return guid.GetHashCode(); } ///[To be supplied.] ////// /// Converts this public override string ToString() { if (this == time) return "Time"; if (this == resolution) return "Resolution"; if (this == page) return "Page"; return "[FrameDimension: " + guid + "]"; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.to a human-readable string. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaAll.cs
- WebPartAuthorizationEventArgs.cs
- FtpWebRequest.cs
- WindowsToolbar.cs
- DataGridViewCellPaintingEventArgs.cs
- HttpListenerContext.cs
- DiscoveryDocumentSerializer.cs
- BaseResourcesBuildProvider.cs
- KeyboardEventArgs.cs
- IgnoreSection.cs
- ContextInformation.cs
- TerminatorSinks.cs
- HtmlHistory.cs
- Mappings.cs
- KeyValuePairs.cs
- DoubleLinkListEnumerator.cs
- GroupDescription.cs
- HtmlTable.cs
- TokenBasedSet.cs
- ResourceAttributes.cs
- ServicePointManager.cs
- HotSpotCollection.cs
- MetadataItem_Static.cs
- HttpHandlersSection.cs
- ProjectionPruner.cs
- ThumbButtonInfo.cs
- DetailsViewModeEventArgs.cs
- Inflater.cs
- TargetConverter.cs
- DateTimeValueSerializer.cs
- UrlAuthFailedErrorFormatter.cs
- HopperCache.cs
- PeerObject.cs
- FixedSOMTableCell.cs
- SqlDataSource.cs
- BindingCollectionElement.cs
- DataServiceQueryProvider.cs
- Inflater.cs
- SqlFacetAttribute.cs
- RootDesignerSerializerAttribute.cs
- ToolboxItemFilterAttribute.cs
- DictionaryGlobals.cs
- ListBindableAttribute.cs
- SqlClientWrapperSmiStreamChars.cs
- StylusPointCollection.cs
- PartialList.cs
- TextPatternIdentifiers.cs
- CodeChecksumPragma.cs
- FocusWithinProperty.cs
- ImageMetadata.cs
- XmlConverter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- NoResizeHandleGlyph.cs
- HttpEncoder.cs
- ExtractCollection.cs
- XmlLinkedNode.cs
- DataGridViewRowEventArgs.cs
- COSERVERINFO.cs
- SqlProviderManifest.cs
- TemplateBamlTreeBuilder.cs
- ArrangedElement.cs
- UnauthorizedAccessException.cs
- ServerValidateEventArgs.cs
- IndexedDataBuffer.cs
- ResourceIDHelper.cs
- ParentQuery.cs
- DesignerHelpers.cs
- DataSourceGroupCollection.cs
- DesignerAutoFormat.cs
- DoubleLinkList.cs
- HwndTarget.cs
- ProcessHostServerConfig.cs
- DataRowView.cs
- FileDialog_Vista_Interop.cs
- PassportAuthentication.cs
- ProtocolsConfigurationHandler.cs
- RoleService.cs
- TextDecorationLocationValidation.cs
- GAC.cs
- MergeEnumerator.cs
- Operators.cs
- ParentControlDesigner.cs
- SignedPkcs7.cs
- XmlSchemaSimpleTypeUnion.cs
- EntityTypeEmitter.cs
- AssemblyBuilder.cs
- ImageListStreamer.cs
- ImageDrawing.cs
- SelectingProviderEventArgs.cs
- RankException.cs
- ToolBarDesigner.cs
- NodeFunctions.cs
- MetadataSection.cs
- BitmapEffectInput.cs
- SymbolEqualComparer.cs
- ManageRequest.cs
- Point3DIndependentAnimationStorage.cs
- UInt64.cs
- FileSecurity.cs
- DeadCharTextComposition.cs