MetaFileInfoProviderSetMetaFilesQuality Method |
Changes images quality using GDI+ built in JPEG encoder.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public static void SetMetaFilesQuality(
int objectId,
string objectType,
string group,
string where,
int quality
)
Parameters
- objectId
- Type: SystemInt32
ID of specific object - objectType
- Type: SystemString
Object type - group
- Type: SystemString
Group name - where
- Type: SystemString
Where condition - quality
- Type: SystemInt32
New image quality, from 0 (lowest quality) to 100 (highest quality)
See Also