public virtual Int32 GetDimensionPixelSize (Int32 id)
- The desired resource identifier, as generated by the aapt tool. This integer encodes the package, type, and resource entry. The value 0 is an invalid identifier.
Type Reason !:NoType:android/content/res/Resources$NotFoundException;Href=../../../../reference/android/content/res/Resources.NotFoundException.html Throws NotFoundException if the given ID does not exist.
Retrieve a dimensional for a particular resource ID for use as a size in raw pixels. This is the same as Resources.GetDimension(Int32), except the returned value is converted to integer pixels for use as a size. A size conversion involves rounding the base value, and ensuring that a non-zero base value is at least one pixel in size.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1