public static AnnotationSound Create(Rect rect, Sound sound) { AnnotationSound sound1 = AnnotationSound.Create(rect); sound1.sound = sound; return(sound1); }
public static AnnotationSound Create(Rect rect, Sound sound, string iconname) { AnnotationSound sound1 = AnnotationSound.Create(rect); sound1.SoundIcon = iconname; sound1.sound = sound; return(sound1); }