Code:
/ 4.0 / 4.0 / 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. /// // 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
- RegexGroupCollection.cs
- DbConnectionPoolGroupProviderInfo.cs
- Array.cs
- ReferencedAssemblyResolver.cs
- MsmqVerifier.cs
- AncestorChangedEventArgs.cs
- GridViewEditEventArgs.cs
- RetrieveVirtualItemEventArgs.cs
- GridViewRowPresenterBase.cs
- SHA1Managed.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- ReflectionUtil.cs
- WindowsEditBoxRange.cs
- ReadOnlyCollection.cs
- COM2Properties.cs
- DEREncoding.cs
- XmlSchema.cs
- TrustLevelCollection.cs
- MimeBasePart.cs
- ITextView.cs
- UntypedNullExpression.cs
- StylusLogic.cs
- XmlDocumentFragment.cs
- GenericsInstances.cs
- DateTimeConverter.cs
- SortQuery.cs
- QilReference.cs
- WizardStepBase.cs
- SharedPerformanceCounter.cs
- ToolStripItemClickedEventArgs.cs
- TextAnchor.cs
- DataGridPageChangedEventArgs.cs
- PageContent.cs
- ObjectDataSourceEventArgs.cs
- Bitmap.cs
- _Semaphore.cs
- DesignerView.Commands.cs
- StrokeNodeData.cs
- DbModificationCommandTree.cs
- MemberHolder.cs
- ResourceProviderFactory.cs
- MDIClient.cs
- HostExecutionContextManager.cs
- HttpModuleAction.cs
- RightsManagementPermission.cs
- CompilerParameters.cs
- BitmapEffectDrawingContextState.cs
- DataStreamFromComStream.cs
- OutputWindow.cs
- CompositeFontParser.cs
- ConfigDefinitionUpdates.cs
- MoveSizeWinEventHandler.cs
- RC2CryptoServiceProvider.cs
- ListViewDeleteEventArgs.cs
- remotingproxy.cs
- SimpleLine.cs
- Image.cs
- RootBuilder.cs
- SkipQueryOptionExpression.cs
- LayoutTableCell.cs
- categoryentry.cs
- PersonalizablePropertyEntry.cs
- QilXmlWriter.cs
- MultiAsyncResult.cs
- Rfc2898DeriveBytes.cs
- NavigationExpr.cs
- DBSqlParserColumnCollection.cs
- ResXResourceSet.cs
- DictionaryBase.cs
- LogWriteRestartAreaAsyncResult.cs
- SamlSubject.cs
- BindableTemplateBuilder.cs
- SystemWebCachingSectionGroup.cs
- sitestring.cs
- CatalogPartChrome.cs
- PageRanges.cs
- SqlCharStream.cs
- ToolStripItemClickedEventArgs.cs
- WebPartVerbCollection.cs
- selecteditemcollection.cs
- BaseCodeDomTreeGenerator.cs
- ConfigurationValues.cs
- Utils.cs
- Compress.cs
- XamlFilter.cs
- ResXResourceWriter.cs
- FileSystemWatcher.cs
- LookupBindingPropertiesAttribute.cs
- SoapObjectInfo.cs
- PassportAuthenticationModule.cs
- HostVisual.cs
- MouseWheelEventArgs.cs
- Cursor.cs
- InstanceData.cs
- MILUtilities.cs
- FileUtil.cs
- EnumerableRowCollection.cs
- CommandBindingCollection.cs
- CharacterHit.cs
- ChannelEndpointElementCollection.cs