Пример #1
0
 public static int[] GetColors(this IWICPalette palette)
 {
     return(FetchIntoBufferHelper.FetchArray <int>(palette.GetColors));
 }
 public static Guid[] GetPixelFormats(this IWICFormatConverterInfo formatConverterInfo)
 {
     return(FetchIntoBufferHelper.FetchArray <Guid>(formatConverterInfo.GetPixelFormats));
 }
Пример #3
0
 public static string GetAuthor(this IWICComponentInfo componentInfo)
 {
     return(FetchIntoBufferHelper.FetchString(componentInfo.GetAuthor));
 }
 /// <summary>
 /// Retrieves the current path relative to the root metadata block.
 /// </summary>
 /// <returns>The current namespace location.</returns>
 /// <remarks>
 /// If the query reader is relative to the top of the metadata hierarchy, it will return a single-char string.
 /// <br/>
 /// If the query reader is relative to a nested metadata block, this method will return the path to the current query reader.
 /// </remarks>
 public static string GetLocation(this IWICMetadataQueryReader metadataQueryReader)
 {
     return(FetchIntoBufferHelper.FetchString(metadataQueryReader.GetLocation));
 }
Пример #5
0
 public static string GetFriendlyName(this IWICComponentInfo componentInfo)
 {
     return(FetchIntoBufferHelper.FetchString(componentInfo.GetFriendlyName));
 }
Пример #6
0
 public static string GetSpecVersion(this IWICComponentInfo componentInfo)
 {
     return(FetchIntoBufferHelper.FetchString(componentInfo.GetSpecVersion));
 }
 public static Guid[] GetContainerFormats(this IWICMetadataHandlerInfo metadataHandlerInfo)
 {
     return(FetchIntoBufferHelper.FetchArray <Guid>(metadataHandlerInfo.GetContainerFormats));
 }
Пример #8
0
 public static byte[] GetProfileBytes(this IWICColorContext colorContext)
 {
     return(FetchIntoBufferHelper.FetchArray <byte>(colorContext.GetProfileBytes));
 }
 public static string GetDeviceModels(this IWICMetadataHandlerInfo metadataHandlerInfo)
 {
     return(FetchIntoBufferHelper.FetchString(metadataHandlerInfo.GetDeviceModels));
 }
 public static string GetColorManagementVersion(this IWICBitmapCodecInfo bitmapCodecInfo)
 {
     return(FetchIntoBufferHelper.FetchString(bitmapCodecInfo.GetColorManagementVersion));
 }
 public static string[] GetFileExtensions(this IWICBitmapCodecInfo bitmapCodecInfo)
 {
     return(FetchIntoBufferHelper.FetchString(bitmapCodecInfo.GetFileExtensions).Split(','));
 }
 public static string[] GetMimeTypes(this IWICBitmapCodecInfo bitmapCodecInfo)
 {
     return(FetchIntoBufferHelper.FetchString(bitmapCodecInfo.GetMimeTypes).Split(','));
 }
 public static string GetDeviceModels(this IWICBitmapCodecInfo bitmapCodecInfo)
 {
     return(FetchIntoBufferHelper.FetchString(bitmapCodecInfo.GetDeviceModels));
 }