Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / FrameDimension.cs / 1 / FrameDimension.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * FrameDimension.cs * * Abstract: * * Image format constant types * * Revision History: * * 12/14/1998 [....] * Created it. * \**************************************************************************/ 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. // Copyright (c) Microsoft Corporation. All rights reserved.to a human-readable string. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- regiisutil.cs
- XmlCompatibilityReader.cs
- BindingCompleteEventArgs.cs
- UrlMapping.cs
- GroupedContextMenuStrip.cs
- SchemaCollectionCompiler.cs
- Win32Exception.cs
- ValidationResult.cs
- WmfPlaceableFileHeader.cs
- ProcessHostFactoryHelper.cs
- NameTable.cs
- StringValueSerializer.cs
- StateBag.cs
- SqlRowUpdatingEvent.cs
- EntityFrameworkVersions.cs
- PropertyPushdownHelper.cs
- SessionViewState.cs
- DefaultPrintController.cs
- SmtpNetworkElement.cs
- SwitchAttribute.cs
- BlurBitmapEffect.cs
- WSDualHttpBindingCollectionElement.cs
- ConnectionStringSettings.cs
- SevenBitStream.cs
- DbConnectionPoolOptions.cs
- BufferCache.cs
- ColorAnimationUsingKeyFrames.cs
- listitem.cs
- AssemblyResourceLoader.cs
- ReadWriteObjectLock.cs
- ElementMarkupObject.cs
- UserControlAutomationPeer.cs
- Documentation.cs
- PriorityQueue.cs
- Latin1Encoding.cs
- CompModSwitches.cs
- ScrollChrome.cs
- ThemeDirectoryCompiler.cs
- MultipartIdentifier.cs
- DiagnosticTrace.cs
- ScalarConstant.cs
- ExpressionNode.cs
- _AutoWebProxyScriptWrapper.cs
- RemotingAttributes.cs
- CalendarTable.cs
- sqlstateclientmanager.cs
- FormViewRow.cs
- Query.cs
- OdbcConnectionHandle.cs
- InternalTypeHelper.cs
- RegexNode.cs
- ArrayHelper.cs
- CalendarSelectionChangedEventArgs.cs
- UniqueEventHelper.cs
- HiddenFieldPageStatePersister.cs
- ToolStripSeparator.cs
- LocationReferenceValue.cs
- SafeNativeMethods.cs
- ParallelTimeline.cs
- NumericExpr.cs
- RepeaterItemCollection.cs
- ReachPageContentSerializerAsync.cs
- DbParameterCollectionHelper.cs
- AssemblyCollection.cs
- DataGridCellsPanel.cs
- EncryptedPackageFilter.cs
- SqlDataAdapter.cs
- DataKeyCollection.cs
- MasterPageBuildProvider.cs
- UnhandledExceptionEventArgs.cs
- dbdatarecord.cs
- DataGridViewSelectedRowCollection.cs
- TextTrailingWordEllipsis.cs
- SocketStream.cs
- XmlILAnnotation.cs
- ImageDrawing.cs
- CommonDialog.cs
- Configuration.cs
- DataBoundLiteralControl.cs
- RestHandler.cs
- PolyBezierSegment.cs
- indexingfiltermarshaler.cs
- MenuEventArgs.cs
- UpdateRecord.cs
- PagesSection.cs
- xmlfixedPageInfo.cs
- FormatConvertedBitmap.cs
- HatchBrush.cs
- DesignerView.cs
- DrawToolTipEventArgs.cs
- DeferredBinaryDeserializerExtension.cs
- CategoryList.cs
- IntAverageAggregationOperator.cs
- _NestedSingleAsyncResult.cs
- _NegoState.cs
- DbConnectionPool.cs
- PolyBezierSegmentFigureLogic.cs
- XmlElementAttribute.cs
- NavigationExpr.cs
- Image.cs