public void SetTypography(DWriteTypography typography, DWriteTextRange textRange) { if (typography == null) { throw new ArgumentNullException("typography"); } this.handle.SetTypography((IDWriteTypography)typography.Handle, textRange); }