Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Media / textformatting / TextRunProperties.cs / 1 / TextRunProperties.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation // // File: TextRunProperties.cs // // Contents: Text run properties // // Spec: http://team/sites/Avalon/Specs/Text%20Formatting%20API.doc // // Created: 1-7-2005 Worachai Chaoweeraprasit (wchao) // //----------------------------------------------------------------------- using System; using System.Globalization; using System.Windows; namespace System.Windows.Media.TextFormatting { ////// Properties that can change from one run to the next, such as typeface or foreground brush. /// ////// The client provides a concrete implementation of this abstract run properties class. This /// allows client to implement their run properties the way that fits with their run formatting /// store. /// public abstract class TextRunProperties { ////// Run typeface /// public abstract Typeface Typeface { get; } ////// Em size of font used to format and display text /// public abstract double FontRenderingEmSize { get; } ////// Em size of font to determine subtle change in font hinting default value is 12pt /// public abstract double FontHintingEmSize { get; } ////// Run TextDecorations. /// public abstract TextDecorationCollection TextDecorations { get; } ////// Brush used to fill text /// public abstract Brush ForegroundBrush { get; } ////// Brush used to paint background of run /// public abstract Brush BackgroundBrush { get; } ////// Run text culture info /// public abstract CultureInfo CultureInfo { get; } ////// Run Text effect collection /// public abstract TextEffectCollection TextEffects { get; } ////// Run vertical box alignment /// public virtual BaselineAlignment BaselineAlignment { get { return BaselineAlignment.Baseline; } } ////// Run typography properties /// public virtual TextRunTypographyProperties TypographyProperties { get { return null; } } ////// Number substitution options. /// public virtual NumberSubstitution NumberSubstitution { get { return null; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation // // File: TextRunProperties.cs // // Contents: Text run properties // // Spec: http://team/sites/Avalon/Specs/Text%20Formatting%20API.doc // // Created: 1-7-2005 Worachai Chaoweeraprasit (wchao) // //----------------------------------------------------------------------- using System; using System.Globalization; using System.Windows; namespace System.Windows.Media.TextFormatting { ////// Properties that can change from one run to the next, such as typeface or foreground brush. /// ////// The client provides a concrete implementation of this abstract run properties class. This /// allows client to implement their run properties the way that fits with their run formatting /// store. /// public abstract class TextRunProperties { ////// Run typeface /// public abstract Typeface Typeface { get; } ////// Em size of font used to format and display text /// public abstract double FontRenderingEmSize { get; } ////// Em size of font to determine subtle change in font hinting default value is 12pt /// public abstract double FontHintingEmSize { get; } ////// Run TextDecorations. /// public abstract TextDecorationCollection TextDecorations { get; } ////// Brush used to fill text /// public abstract Brush ForegroundBrush { get; } ////// Brush used to paint background of run /// public abstract Brush BackgroundBrush { get; } ////// Run text culture info /// public abstract CultureInfo CultureInfo { get; } ////// Run Text effect collection /// public abstract TextEffectCollection TextEffects { get; } ////// Run vertical box alignment /// public virtual BaselineAlignment BaselineAlignment { get { return BaselineAlignment.Baseline; } } ////// Run typography properties /// public virtual TextRunTypographyProperties TypographyProperties { get { return null; } } ////// Number substitution options. /// public virtual NumberSubstitution NumberSubstitution { get { return null; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ServiceOperationWrapper.cs
- CollectionType.cs
- coordinatorscratchpad.cs
- NoneExcludedImageIndexConverter.cs
- EnumerableRowCollection.cs
- RegexStringValidator.cs
- FilteredDataSetHelper.cs
- Version.cs
- WebPartUserCapability.cs
- TableLayoutStyleCollection.cs
- ValidationError.cs
- CompilationPass2Task.cs
- ScopelessEnumAttribute.cs
- FrameworkTextComposition.cs
- UIElementParaClient.cs
- InteropBitmapSource.cs
- RegexCompilationInfo.cs
- QilReference.cs
- Listen.cs
- RegexMatchCollection.cs
- TraceContextEventArgs.cs
- Claim.cs
- CookieParameter.cs
- ExpandSegment.cs
- Focus.cs
- Solver.cs
- StatusBarPanel.cs
- DateTimeFormatInfo.cs
- WorkflowMessageEventArgs.cs
- AssemblyBuilder.cs
- StringDictionary.cs
- WebPartHeaderCloseVerb.cs
- SQLGuidStorage.cs
- DataRowExtensions.cs
- CryptoStream.cs
- WpfMemberInvoker.cs
- TraceContext.cs
- MembershipPasswordException.cs
- UIElementParaClient.cs
- TableCellsCollectionEditor.cs
- XmlCollation.cs
- CompatibleIComparer.cs
- XmlElementAttributes.cs
- SmtpAuthenticationManager.cs
- Path.cs
- ScaleTransform3D.cs
- ThreadInterruptedException.cs
- ImageCreator.cs
- SmiEventStream.cs
- ContractUtils.cs
- AnimatedTypeHelpers.cs
- BaseDataList.cs
- LeafCellTreeNode.cs
- StreamAsIStream.cs
- ToolStripSeparator.cs
- columnmapfactory.cs
- HuffmanTree.cs
- SessionStateContainer.cs
- WebPartConnectVerb.cs
- DescriptionAttribute.cs
- Types.cs
- AnnotationComponentManager.cs
- RightsManagementEncryptedStream.cs
- StickyNote.cs
- SubstitutionList.cs
- InertiaExpansionBehavior.cs
- XmlResolver.cs
- Parser.cs
- PresentationAppDomainManager.cs
- COM2PictureConverter.cs
- ReplyChannelBinder.cs
- IisTraceWebEventProvider.cs
- WebProxyScriptElement.cs
- ForceCopyBuildProvider.cs
- GZipStream.cs
- ScrollPattern.cs
- IisTraceListener.cs
- WebPart.cs
- DataRowCollection.cs
- CryptoApi.cs
- WorkflowMarkupSerializer.cs
- DataSourceControl.cs
- Attachment.cs
- ColorDialog.cs
- CompressionTransform.cs
- IndexedString.cs
- Assign.cs
- ScrollBar.cs
- SessionSwitchEventArgs.cs
- MetadataPropertyAttribute.cs
- Image.cs
- InputScope.cs
- HtmlInputButton.cs
- MSAANativeProvider.cs
- XmlEntity.cs
- WhitespaceRule.cs
- EncryptedKey.cs
- WindowsToolbarItemAsMenuItem.cs
- QueryExpr.cs
- SubclassTypeValidatorAttribute.cs