static N_CLASS(NDateTime) GetToday() { NDateTime_ value; NCheck(NDateTimeGetToday(&value)); return N_CLASS(NDateTime)(value); }
void SetGender(BdifGender value) { NCheck(FcrFaceImageSetGender(GetHandle(), value)); }
void SetHairColor(BdifHairColor value) { NCheck(FcrFaceImageSetHairColor(GetHandle(), value)); }
void SetImageQuality(NByte value) { NCheck(FirFingerViewSetImageQuality(GetHandle(), value)); }
void SetImpressionType(BdifFPImpressionType value) { NCheck(FirFingerViewSetImpressionType(GetHandle(), value)); }
void SetVersion(const NStringWrapper & value) { NCheck(NStringSet(value.GetHandle(), &hVersion)); }
NInt GetViewNumber() const { NInt value; NCheck(FirFingerViewGetViewNumber(GetHandle(), &value)); return value; }
void GraphSettings::animdelslot() { NCheck(AnimDel, 1, 20, transl("animation delay"), &Delay); }
void GraphSettings::vchartsizeslot() { NCheck(VChartSize, BITMAPY1, BITMAPY, transl("vertical value"), &yWin); }
NHandle GetOSHandle() const { NHandle hValue; NCheck(NSemaphoreGetOSHandle(GetHandle(), &hValue)); return hValue; }
void GraphSettings::hchartsizeslot() { NCheck(HChartSize, BITMAPX1, BITMAPX, transl("horizontal value"), &xWin); }
void Release() { NCheck(NSemaphoreRelease(GetHandle())); }
static HFIRecord Create(const FIRecord & srcRecord, BdifStandard standard, NUInt flags) { HFIRecord handle; NCheck(FIRecordCreateFromFIRecord(srcRecord.GetHandle(), flags, standard, &handle)); return handle; }
static N_CLASS(NDateTime) FromTicks(NLong ticks) { NDateTime_ value; NCheck(NDateTimeCreateFromTicks(ticks, &value)); return N_CLASS(NDateTime)(value); }
void SetLossless(bool value) { NCheck(JpegInfoSetLossless(GetHandle(), value ? NTrue : NFalse)); }
void GraphSettings::mapdegrotslot() { NCheck(MapDegRot, 0, nDegMax-1, transl("degree of rotation"), &Rot); }
void SetName(const NStringWrapper & value) { NCheck(NStringSet(value.GetHandle(), &hName)); }
NAttributes GetValueAttributes() const { NAttributes value; NCheck(NDictionaryInfoGetValueAttributes(GetHandle(), &value)); return value; }
void SetImageData(const void * pValue, NSizeType valueSize, bool copy = true) { NCheck(FirFingerViewSetImageDataEx(GetHandle(), pValue, valueSize, copy ? NTrue : NFalse)); }
static NVoice FromSoundBufferAndTemplate(const ::Neurotec::Sound::NSoundBuffer & soundBuffer, const NSRecord & record) { HNVoice hVoice; NCheck(NVoiceFromSoundBufferAndTemplate(soundBuffer.GetHandle(), record.GetHandle(), &hVoice)); return FromHandle<NVoice>(hVoice); }
NByte GetImageQuality() const { NByte value; NCheck(FirFingerViewGetImageQuality(GetHandle(), &value)); return value; }
::Neurotec::Sound::NSoundBuffer GetSoundBuffer() const { HNSoundBuffer hValue; NCheck(NVoiceGetSoundBuffer(GetHandle(), &hValue)); return FromHandle< ::Neurotec::Sound::NSoundBuffer>(hValue, true); }
BdifFPImpressionType GetImpressionType() const { BdifFPImpressionType value; NCheck(FirFingerViewGetImpressionType(GetHandle(), &value)); return value; }
void SetSoundBuffer(const ::Neurotec::Sound::NSoundBuffer & value) { NCheck(NVoiceSetSoundBuffer(GetHandle(), value.GetHandle())); }
NUShort GetVertLineLength() const { NUShort value; NCheck(FirFingerViewGetVertLineLength(GetHandle(), &value)); return value; }
NInt GetPhraseId() const { NInt value; NCheck(NVoiceGetPhraseId(GetHandle(), &value)); return value; }
BdifHairColor GetHairColor() const { BdifHairColor value; NCheck(FcrFaceImageGetHairColor(GetHandle(), &value)); return value; }
void SetPhraseId(NInt value) { NCheck(NVoiceSetPhraseId(GetHandle(), value)); }
BdifFaceProperties GetProperties() const { BdifFaceProperties value; NCheck(FcrFaceImageGetProperties(GetHandle(), &value)); return value; }
static N_CLASS(NDateTime) GetUtcNow() { NDateTime_ value; NCheck(NDateTimeGetUtcNow(&value)); return N_CLASS(NDateTime)(value); }