Foundation.NSStringDrawingContext Class
Configures and track the scale factor and tracking adjustements used when drawing attributed strings.

See Also: NSStringDrawingContext Members

Syntax

[Foundation.Register("NSStringDrawingContext", true)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public class NSStringDrawingContext : NSObject

Remarks

You can use instances of this class to either configure the scale factor or the tracking adjustements used when drawing an attributed string.

You can set the properties up front with the NSStringDrawingContext.MinimumScaleFactor and NSStringDrawingContext.MinimumTrackingAdjustment.

After drawing you can examine the actual values used by examining the NSStringDrawingContext.ActualScaleFactor and NSStringDrawingContext.ActualTrackingAdjustment properties.

Related content

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0